package com.nameless.feign;

import com.nameless.entity.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author keluoyisi
 */
@FeignClient("car-system")
public interface AdminFeign {
    @GetMapping("/system/admin/selectAdmin/{name}")
//    SysUser selectAdmin(@PathVariable String name);
    Users getAdmin(@PathVariable String name);
}